You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="6985" />
  </query-continue>
  <query>
    <pages>
      <page pageid="4897" ns="0" title="Main Page">
        <revisions>
          <rev user="Smitch" timestamp="2013-01-25T10:23:02Z" comment="[[Main Page]] moved to [[Steve from Florida]]: Casper the real psycho said so." />
          <rev user="Smitch" timestamp="2013-01-25T10:37:33Z" comment="Redirecting to [[Steve needs an attitude adjustment.]]" />
          <rev user="Smitch" timestamp="2013-01-25T10:38:50Z" comment="New page: Steve is an idiot. Casper says so." />
          <rev user="Smitch" timestamp="2013-01-25T10:39:55Z" comment="Protected &quot;[[Main Page]]&quot;: Steve needs to go. [edit=sysop:move=sysop] (expires 06:00, 1 January 2099 (UTC)) [cascading]" />
          <rev user="Smitch" timestamp="2013-01-29T20:13:40Z" comment="" />
        </revisions>
      </page>
    </pages>
  </query>
</api>